<a  [class] = "'el-link' + (type ? ' el-link--'+type : '')"
    [class.is-disabled]="disabled"
    [class.is-underline]="(!disabled && underline)"
    [href]="(disabled ? null : href)"
    [target]="target"
    (click)="handleClick($event)"
  >
    <i :class="icon" *ngIf="icon"></i>

    <span *ngIf="!iconTmp" class="el-link--inner">
      <ng-content></ng-content>
    </span>
    <ng-container *ngIf="iconTmp">
        <ng-template [ngTemplateOutlet]="iconTmp"> </ng-template>
    </ng-container>
  </a>
